package com.designpattern.observer.user;

public class Client {

    public static void main(String[] args) {
        Subject subject = new SubDescription();

        subject.attch(new WeixinObserver("张三"));
        subject.attch(new WeixinObserver("李四"));
        subject.attch(new WeixinObserver("王五"));

        subject.notify("有消息了");
    }
}
